package com.youhome.service.service;

import com.youhome.service.model.Company;

import java.util.List;

/**
 * Created by chen365 on 2018/05/22.
 */
public interface CompanyService {
    List<Company> selectAll();

    int updateByPrimaryKeySelective(Company record);

    int updateMinusLimitByAppKey(String appKey);

    int updateTokenByAppKey(Company company);

    Company selectByPrimaryKey(Long id);
}
